package com.mdb.open.epay.facade.content;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.mdb.open.epay.common.MdbDataSource;
import com.mdb.open.epay.domain.po.content.FileInfo;
import com.mdb.open.epay.service.content.FileInfoService;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author liuyi
 * @date 2019/08/29
 **/
@Log4j2
@Service
@DS(MdbDataSource.CONTENT)
public class ContentFacade {

    @Autowired
    private FileInfoService fileInfoService;

    public FileInfo getByFileNo(String fileNo) {
        return fileInfoService.getByFileNo(fileNo);
    }
}
